* gdk_content_formats_new:
* @mime_types: (array length=n_mime_types) (allow-none): Pointer to an
* array of mime types
- * @nmime_types: number of entries in @mime_types.
+ * @n_mime_types: number of entries in @mime_types.
*
* Creates a new #GdkContentFormats from an array of mime types.
*
}
/**
- * gtk_clipboard_wait_for_formats:
+ * gtk_clipboard_wait_for_targets:
* @clipboard: a #GtkClipboard
* @formats: (out) (array length=n_formats) (transfer container): location
* to store an array of formats. The result stored here must
* @formats: (allow-none): The targets (data formats) in which the
* functions can provide the data or %NULL
* to indicate that all forms should be stored.
- * @n_formats: number of elements in @formats
*
* Hints that the clipboard data should be stored somewhere when the
* application exits or when gtk_clipboard_store () is called.
gchar ** gtk_clipboard_wait_for_uris (GtkClipboard *clipboard);
GDK_AVAILABLE_IN_ALL
gboolean gtk_clipboard_wait_for_targets (GtkClipboard *clipboard,
- GdkAtom **targets,
- gint *n_targets);
+ GdkAtom **formats,
+ gint *n_formats);
GDK_AVAILABLE_IN_3_94
cairo_surface_t * gtk_clipboard_wait_for_surface (GtkClipboard *clipboard);
GDK_AVAILABLE_IN_ALL
void gtk_clipboard_set_can_store (GtkClipboard *clipboard,
- GdkContentFormats *targets);
+ GdkContentFormats *formats);
GDK_AVAILABLE_IN_ALL
void gtk_clipboard_store (GtkClipboard *clipboard);
GDK_AVAILABLE_IN_3_10
GdkDragContext *gtk_drag_begin_with_coordinates (GtkWidget *widget,
- GdkContentFormats *formats,
+ GdkContentFormats *targets,
GdkDragAction actions,
gint button,
GdkEvent *event,
GDK_AVAILABLE_IN_ALL
void gtk_drag_dest_set (GtkWidget *widget,
GtkDestDefaults flags,
- GdkContentFormats *formats,
+ GdkContentFormats *targets,
GdkDragAction actions);
GDK_AVAILABLE_IN_ALL
GDK_AVAILABLE_IN_ALL
void gtk_drag_source_set (GtkWidget *widget,
GdkModifierType start_button_mask,
- GdkContentFormats *formats,
+ GdkContentFormats *targets,
GdkDragAction actions);
GDK_AVAILABLE_IN_ALL
/**
* gtk_image_set_from_texture:
* @image: a #GtkImage
- * @surface: (nullable): a #GdkTexture or %NULL
+ * @texture: (nullable): a #GdkTexture or %NULL
*
* See gtk_image_new_from_texture() for details.
*
/**
* gtk_content_formats_add_uri_targets:
* @list: a #GdkContentFormats
- * @info: an ID that will be passed back to the application
*
* Appends the URI targets supported by #GtkSelectionData to
* the target list. All targets are added with the same @info.
/**
* gtk_settings_get_for_display:
- * @screen: a #GdkDisplay.
+ * @display: a #GdkDisplay.
*
* Gets the #GtkSettings object for @display, creating it if necessary.
*